home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / bin / printafm < prev    next >
Encoding:
Text File  |  2012-12-27  |  440 b   |  17 lines

  1. #!/bin/sh
  2. # $Id: printafm 8107 2007-07-05 19:04:29Z till $
  3. # Print the metrics from a font in AFM format.  Usage:
  4. #    printafm fontname
  5. # Output goes to stdout.
  6.  
  7. # This definition is changed on install to match the
  8. # executable name set in the makefile
  9. GS_EXECUTABLE=gs
  10. gs="`dirname $0`/$GS_EXECUTABLE"
  11. if test ! -x "$gs"; then
  12.     gs="$GS_EXECUTABLE"
  13. fi
  14. GS_EXECUTABLE="$gs"
  15.  
  16. exec "$GS_EXECUTABLE" -q -P- -dSAFER -dNODISPLAY -- printafm.ps "$@"
  17.